// 图片映射文件 - 统一管理从 public 移动到 src/assets/images 的图片

// 产品详情图片
import img401_1 from '@/assets/images/401-1.jpg'
import img401_2 from '@/assets/images/401-2.jpg'
import img401_3 from '@/assets/images/401-3.jpg'
import img403_1 from '@/assets/images/403-1.jpg'
import img403_2 from '@/assets/images/403-2.jpg'
import img403_3 from '@/assets/images/403-3.jpg'
import img406_1 from '@/assets/images/406-1.jpg'
import img406_2 from '@/assets/images/406-2.jpg'
import img406_3 from '@/assets/images/406-3.jpg'
import img618_1 from '@/assets/images/618-1.jpg'
import img618_2 from '@/assets/images/618-2.jpg'
import img618_3 from '@/assets/images/618-3.jpg'
import img703_1 from '@/assets/images/703-1.jpg'
import img703_2 from '@/assets/images/703-2.jpg'
import img703_3 from '@/assets/images/703-3.jpg'
import img718 from '@/assets/images/718.jpg'
import img776_1 from '@/assets/images/776-1.jpg'
import img776_2 from '@/assets/images/776-2.jpg'
import img776_3 from '@/assets/images/776-3.jpg'
import img779_1 from '@/assets/images/779-1.jpg'
import img779_2 from '@/assets/images/779-2.jpg'
import img779_3 from '@/assets/images/779-3.jpg'
import img168q_1 from '@/assets/images/168q-1.jpg'
import img168q_2 from '@/assets/images/168q-2.jpg'
import img168q_3 from '@/assets/images/168q-3.jpg'
import img168jq_1 from '@/assets/images/168jq-1.jpg'
import img168jq_2 from '@/assets/images/168jq-2.jpg'
import img168jq_3 from '@/assets/images/168jq-3.jpg'
import img770f_1 from '@/assets/images/770f-1.jpg'
import img770f_2 from '@/assets/images/770f-2.jpg'
import img770f_3 from '@/assets/images/770f-3.jpg'
import imgT770X_1 from '@/assets/images/T770X-1.jpg'
import imgT770X_2 from '@/assets/images/T770X-2.jpg'
import imgT770X_3 from '@/assets/images/T770X-3.jpg'
import img7518_1 from '@/assets/images/7518-1.jpg'
import img7518_2 from '@/assets/images/7518-2.jpg'
import img7518_3 from '@/assets/images/7518-3.jpg'
import img770J_1 from '@/assets/images/770J-1.jpg'
import img770J_2 from '@/assets/images/770J-2.jpg'
import img770J_3 from '@/assets/images/770J-3.jpg'
import imgH618_1 from '@/assets/images/H618-1.jpg'
import imgH618_2 from '@/assets/images/H618-2.jpg'
import imgH618_3 from '@/assets/images/H618-3.jpg'

// 产品 Logo 图片
import logo401 from '@/assets/images/L-401.jpg'
import logo403 from '@/assets/images/L-403.jpg'
import logo406 from '@/assets/images/L-406.jpg'
import logo618 from '@/assets/images/L-618.jpg'
import logo703 from '@/assets/images/L-703.jpg'
import logo718 from '@/assets/images/L-718.jpg'
import logo776 from '@/assets/images/L-776.png'
import logo779 from '@/assets/images/L-779.png'
import logo168q from '@/assets/images/L-168q.png'
import logo168jq from '@/assets/images/L-168jq.png'
import logo770X from '@/assets/images/L-770X.png'
import logo7518 from '@/assets/images/L-7518.png'
import logo770J from '@/assets/images/L-770J.png'
import logo788f from '@/assets/images/L-788f.png'
import logoh618 from '@/assets/images/L-h618.jpg'

// 案例图片
import caseB1 from '@/assets/images/B-1.jpg'
import caseB2 from '@/assets/images/B-2.jpg'
import caseB3 from '@/assets/images/B-3.jpg'
import caseB4 from '@/assets/images/B-4.jpg'
import caseB5 from '@/assets/images/B-5.jpg'
import caseB6 from '@/assets/images/B-6.jpg'

// 其他图片
import shunganjiao1 from '@/assets/images/shunganjiao1.png'
import shunganjiao2 from '@/assets/images/shunganjiao2.png'
import xw1 from '@/assets/images/XW-1.png'
import xw2 from '@/assets/images/XW-2.png'
import xw3 from '@/assets/images/XW-3.png'
import xw4 from '@/assets/images/XW-4.png'
import xw5 from '@/assets/images/XW-5.png'
import xw6 from '@/assets/images/XW-6.png'
import xw7 from '@/assets/images/XW-7.png'
import xw8 from '@/assets/images/XW-8.png'

// 图片路径映射对象
export const imageMap: Record<string, string> = {
  // 产品详情图片
  '/401-1.jpg': img401_1,
  '/401-2.jpg': img401_2,
  '/401-3.jpg': img401_3,
  '/403-1.jpg': img403_1,
  '/403-2.jpg': img403_2,
  '/403-3.jpg': img403_3,
  '/406-1.jpg': img406_1,
  '/406-2.jpg': img406_2,
  '/406-3.jpg': img406_3,
  '/618-1.jpg': img618_1,
  '/618-2.jpg': img618_2,
  '/618-3.jpg': img618_3,
  '/703-1.jpg': img703_1,
  '/703-2.jpg': img703_2,
  '/703-3.jpg': img703_3,
  '/718.jpg': img718,
  '/776-1.jpg': img776_1,
  '/776-2.jpg': img776_2,
  '/776-3.jpg': img776_3,
  '/779-1.jpg': img779_1,
  '/779-2.jpg': img779_2,
  '/779-3.jpg': img779_3,
  '/168q-1.jpg': img168q_1,
  '/168q-2.jpg': img168q_2,
  '/168q-3.jpg': img168q_3,
  '/168jq-1.jpg': img168jq_1,
  '/168jq-2.jpg': img168jq_2,
  '/168jq-3.jpg': img168jq_3,
  '/770f-1.jpg': img770f_1,
  '/770f-2.jpg': img770f_2,
  '/770f-3.jpg': img770f_3,
  '/T770X-1.jpg': imgT770X_1,
  '/T770X-2.jpg': imgT770X_2,
  '/T770X-3.jpg': imgT770X_3,
  '/7518-1.jpg': img7518_1,
  '/7518-2.jpg': img7518_2,
  '/7518-3.jpg': img7518_3,
  '/770J-1.jpg': img770J_1,
  '/770J-2.jpg': img770J_2,
  '/770J-3.jpg': img770J_3,
  '/H618-1.jpg': imgH618_1,
  '/H618-2.jpg': imgH618_2,
  '/H618-3.jpg': imgH618_3,
  
  // 产品 Logo 图片
  '/L-401.jpg': logo401,
  '/L-403.jpg': logo403,
  '/L-406.jpg': logo406,
  '/L-618.jpg': logo618,
  '/L-703.jpg': logo703,
  '/L-718.jpg': logo718,
  '/L-776.png': logo776,
  '/L-779.png': logo779,
  '/L-168q.png': logo168q,
  '/L-168jq.png': logo168jq,
  '/L-770X.png': logo770X,
  '/L-7518.png': logo7518,
  '/L-770J.png': logo770J,
  '/L-788f.png': logo788f,
  '/L-h618.jpg': logoh618,
  
  // 案例图片
  '/B-1.jpg': caseB1,
  '/B-2.jpg': caseB2,
  '/B-3.jpg': caseB3,
  '/B-4.jpg': caseB4,
  '/B-5.jpg': caseB5,
  '/B-6.jpg': caseB6,
  
  // 其他图片
  '/shunganjiao1.png': shunganjiao1,
  '/shunganjiao2.png': shunganjiao2,
  '/XW-1.png': xw1,
  '/XW-2.png': xw2,
  '/XW-3.png': xw3,
  '/XW-4.png': xw4,
  '/XW-5.png': xw5,
  '/XW-6.png': xw6,
  '/XW-7.png': xw7,
  '/XW-8.png': xw8,
}

// 获取图片路径的辅助函数
export function getImagePath(path: string): string {
  return imageMap[path] || path
}

// 获取图片数组的辅助函数
export function getImagePaths(paths: string[]): string[] {
  return paths.map(path => imageMap[path] || path)
}

